how to calculate weight loss in TGA